package com.powernode.ssm.bean;

/**
 * @Author: 曾铖坚
 * @Date: 2024/10/11 17:39
 * @Version: 1.0.0
 */
public class Student {
    private Integer sid;
    private String sname;
    private Integer cid;


    public Student() {
    }

    public Student(Integer sid, String sname, Integer cid) {
        this.sid = sid;
        this.sname = sname;
        this.cid = cid;
    }

    /**
     * 获取
     * @return sid
     */
    public Integer getSid() {
        return sid;
    }

    /**
     * 设置
     * @param sid
     */
    public void setSid(Integer sid) {
        this.sid = sid;
    }

    /**
     * 获取
     * @return sname
     */
    public String getSname() {
        return sname;
    }

    /**
     * 设置
     * @param sname
     */
    public void setSname(String sname) {
        this.sname = sname;
    }

    /**
     * 获取
     * @return cid
     */
    public Integer getCid() {
        return cid;
    }

    /**
     * 设置
     * @param cid
     */
    public void setCid(Integer cid) {
        this.cid = cid;
    }

    @Override
    public String toString() {
        return "Student{sid = " + sid + ", sname = " + sname + ", cid = " + cid + "}";
    }
}
